#include <iostream>
#include <thread>


int main(int argc, char** argv)
{
	int foo = 123;
	std::thread t([foo] { std::cout<< "hello" << foo << std::endl; });
	t.join();
}